package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.BizAuthorize;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BizAuthorizeMapper {

    List<BizAuthorize> selectAuthorizeList(BizAuthorize authorize);

    BizAuthorize selectAuthorizeById(Long id);

    int insertAuthorize(BizAuthorize authorize);

    int updateAuthorize(BizAuthorize authorize);

    int deleteAuthorizeById(Long id);

    int checkAuthorizeNameUnique(@Param("name") String name, @Param("authorizeType") String authorizeType);

    List<BizAuthorize> queryByCondition(BizAuthorize authorize);
}
